//
//  RadioListCell.m
//  Leisure
//
//  Created by xalo on 16/7/4.
//  Copyright © 2016年 蓝鸥科技有限公司西安分公司. All rights reserved.
//

#import "RadioListCell.h"


@interface RadioListCell ()
@property (weak, nonatomic) IBOutlet UIImageView *coverimg;
@property (weak, nonatomic) IBOutlet UILabel *uname;
@property (weak, nonatomic) IBOutlet UILabel *musicVisit;

@end


@implementation RadioListCell

- (void)awakeFromNib {
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

}

-(void)setCellWithModel:(id)model{
    RadioListModel *radioListModel = model;
    [self.coverimg sd_setImageWithURL:[NSURL URLWithString:radioListModel.coverimg]];
    self.uname.text = radioListModel.title;
    self.musicVisit.text = radioListModel.musicVisit.description;
}

@end
